///*
// * To change this template, choose Tools | Templates
// * and open the template in the editor.
// */
//package company.folder.abstraction;
//
//import facades.CompanyAdquiredProfileFacade;
//import entities.CompanyAdquiredProfile;
//import entities.Search;
//import entities.SearchEducationalInfoRequerimentAndOperator;
//import entities.SearchEducationalInfoRequerimentOrOperator;
//import entities.SearchInterestAreaRequerimentAndOperator;
//import entities.SearchInterestAreaRequerimentOrOperator;
//import entities.SearchLanguageInfoRequerimentAndOperator;
//import entities.SearchLanguageInfoRequerimentOrOperator;
//import entities.SearchProfessionalInfoRequerimentAndOperator;
//import entities.SearchProfessionalInfoRequerimentOrOperator;
//import entities.SearchRelocatingInfoRequerimentAndOperator;
//import entities.SearchRelocatingInfoRequerimentOrOperator;
//import java.io.Serializable;
//import java.util.ArrayList;
//import java.util.Date;
//import java.util.List;
//import javax.inject.Inject;
//
///**
// *
// * @author damfercer
// */
//public class CompanyAdquiredProfileFilterer implements Serializable{
//    @Inject
//    private CompanyAdquiredProfileFacade companyAdquiredProfileFacade;
//    private List<CompanyAdquiredProfile> filteredProfiles;
//    private List<CompanyAdquiredProfile> baseProfiles;
//    private Search search;
//    private SearchEducationalInfoRequerimentAndOperator educationalAndCollector;
//    private SearchEducationalInfoRequerimentOrOperator educationalOrCollector;
//    private SearchInterestAreaRequerimentAndOperator interestAreaAndCollector;
//    private SearchInterestAreaRequerimentOrOperator interestAreaOrCollector;
//    private SearchLanguageInfoRequerimentAndOperator languageAndCollector;
//    private SearchLanguageInfoRequerimentOrOperator languageOrCollector;
//    private SearchProfessionalInfoRequerimentAndOperator professionalAndCollector;
//    private SearchProfessionalInfoRequerimentOrOperator professionalOrCollector;
//    private SearchRelocatingInfoRequerimentAndOperator relocatingAndCollector;
//    private SearchRelocatingInfoRequerimentOrOperator relocatingOrCollector;
//    private String candidateName;
//    private Date fromAdquisitionDate;
//    private Date toAdquisitionDate;
//    private Boolean isRelated;
//    
//    public void CandidateFilterer(){
//        reinitFilter();
//    }
//    
//    public void reinitFilter(){
//        setSearch(new Search());
//        getSearch().setSearchEducationalInfoRequerimentAndOperatorList(new ArrayList<SearchEducationalInfoRequerimentAndOperator>());
//        getSearch().setSearchEducationalInfoRequerimentOrOperatorList(new ArrayList<SearchEducationalInfoRequerimentOrOperator>());
//        getSearch().setSearchInterestAreaRequerimentAndOperatorList(new ArrayList<SearchInterestAreaRequerimentAndOperator>());
//        getSearch().setSearchInterestAreaRequerimentOrOperatorList(new ArrayList<SearchInterestAreaRequerimentOrOperator>());
//        getSearch().setSearchLanguageInfoRequerimentAndOperatorList(new ArrayList<SearchLanguageInfoRequerimentAndOperator>());
//        getSearch().setSearchLanguageInfoRequerimentOrOperatorList(new ArrayList<SearchLanguageInfoRequerimentOrOperator>());
//        getSearch().setSearchProfessionalInfoRequerimentAndOperatorList(new ArrayList<SearchProfessionalInfoRequerimentAndOperator>());
//        getSearch().setSearchProfessionalInfoRequerimentOrOperatorList(new ArrayList<SearchProfessionalInfoRequerimentOrOperator>());
//        getSearch().setSearchRelocatingInfoRequerimentAndOperatorList(new ArrayList<SearchRelocatingInfoRequerimentAndOperator>());
//        getSearch().setSearchRelocatingInfoRequerimentOrOperatorList(new ArrayList<SearchRelocatingInfoRequerimentOrOperator>());
//        setEducationalAndCollector(new SearchEducationalInfoRequerimentAndOperator());
//        setEducationalOrCollector(new SearchEducationalInfoRequerimentOrOperator());
//        setInterestAreaAndCollector(new SearchInterestAreaRequerimentAndOperator());
//        setInterestAreaOrCollector(new SearchInterestAreaRequerimentOrOperator());
//        setLanguageAndCollector(new SearchLanguageInfoRequerimentAndOperator());
//        setLanguageOrCollector(new SearchLanguageInfoRequerimentOrOperator());
//        setProfessionalAndCollector(new SearchProfessionalInfoRequerimentAndOperator());
//        setProfessionalOrCollector(new SearchProfessionalInfoRequerimentOrOperator());
//        setRelocatingAndCollector(new SearchRelocatingInfoRequerimentAndOperator());
//        setRelocatingOrCollector(new SearchRelocatingInfoRequerimentOrOperator());
//        setFilteredProfiles(new ArrayList<CompanyAdquiredProfile>()); 
//    }
//    
//     
//    public void filter(){
//        //this.filteredProfiles=getCompanyAdquiredProfileFacade().getFilteredProfiles(getSqlGenerator().getSqlFromSearch(search));
//    }
//
//    /**
//     * @return the search
//     */
//    public Search getSearch() {
//        return search;
//    }
//
//    /**
//     * @param search the search to set
//     */
//    public void setSearch(Search search) {
//        this.search = search;
//    }
//
//    /**
//     * @return the educationalAndCollector
//     */
//    public SearchEducationalInfoRequerimentAndOperator getEducationalAndCollector() {
//        return educationalAndCollector;
//    }
//
//    /**
//     * @param educationalAndCollector the educationalAndCollector to set
//     */
//    public void setEducationalAndCollector(SearchEducationalInfoRequerimentAndOperator educationalAndCollector) {
//        this.educationalAndCollector = educationalAndCollector;
//    }
//
//    /**
//     * @return the educationalOrCollector
//     */
//    public SearchEducationalInfoRequerimentOrOperator getEducationalOrCollector() {
//        return educationalOrCollector;
//    }
//
//    /**
//     * @param educationalOrCollector the educationalOrCollector to set
//     */
//    public void setEducationalOrCollector(SearchEducationalInfoRequerimentOrOperator educationalOrCollector) {
//        this.educationalOrCollector = educationalOrCollector;
//    }
//
//    /**
//     * @return the interestAreaAndCollector
//     */
//    public SearchInterestAreaRequerimentAndOperator getInterestAreaAndCollector() {
//        return interestAreaAndCollector;
//    }
//
//    /**
//     * @param interestAreaAndCollector the interestAreaAndCollector to set
//     */
//    public void setInterestAreaAndCollector(SearchInterestAreaRequerimentAndOperator interestAreaAndCollector) {
//        this.interestAreaAndCollector = interestAreaAndCollector;
//    }
//
//    /**
//     * @return the interestAreaOrCollector
//     */
//    public SearchInterestAreaRequerimentOrOperator getInterestAreaOrCollector() {
//        return interestAreaOrCollector;
//    }
//
//    /**
//     * @param interestAreaOrCollector the interestAreaOrCollector to set
//     */
//    public void setInterestAreaOrCollector(SearchInterestAreaRequerimentOrOperator interestAreaOrCollector) {
//        this.interestAreaOrCollector = interestAreaOrCollector;
//    }
//
//    /**
//     * @return the languageAndCollector
//     */
//    public SearchLanguageInfoRequerimentAndOperator getLanguageAndCollector() {
//        return languageAndCollector;
//    }
//
//    /**
//     * @param languageAndCollector the languageAndCollector to set
//     */
//    public void setLanguageAndCollector(SearchLanguageInfoRequerimentAndOperator languageAndCollector) {
//        this.languageAndCollector = languageAndCollector;
//    }
//
//    /**
//     * @return the languageOrCollector
//     */
//    public SearchLanguageInfoRequerimentOrOperator getLanguageOrCollector() {
//        return languageOrCollector;
//    }
//
//    /**
//     * @param languageOrCollector the languageOrCollector to set
//     */
//    public void setLanguageOrCollector(SearchLanguageInfoRequerimentOrOperator languageOrCollector) {
//        this.languageOrCollector = languageOrCollector;
//    }
//
//    /**
//     * @return the professionalAndCollector
//     */
//    public SearchProfessionalInfoRequerimentAndOperator getProfessionalAndCollector() {
//        return professionalAndCollector;
//    }
//
//    /**
//     * @param professionalAndCollector the professionalAndCollector to set
//     */
//    public void setProfessionalAndCollector(SearchProfessionalInfoRequerimentAndOperator professionalAndCollector) {
//        this.professionalAndCollector = professionalAndCollector;
//    }
//
//    /**
//     * @return the professionalOrCollector
//     */
//    public SearchProfessionalInfoRequerimentOrOperator getProfessionalOrCollector() {
//        return professionalOrCollector;
//    }
//
//    /**
//     * @param professionalOrCollector the professionalOrCollector to set
//     */
//    public void setProfessionalOrCollector(SearchProfessionalInfoRequerimentOrOperator professionalOrCollector) {
//        this.professionalOrCollector = professionalOrCollector;
//    }
//
//    /**
//     * @return the relocatingAndCollector
//     */
//    public SearchRelocatingInfoRequerimentAndOperator getRelocatingAndCollector() {
//        return relocatingAndCollector;
//    }
//
//    /**
//     * @param relocatingAndCollector the relocatingAndCollector to set
//     */
//    public void setRelocatingAndCollector(SearchRelocatingInfoRequerimentAndOperator relocatingAndCollector) {
//        this.relocatingAndCollector = relocatingAndCollector;
//    }
//
//    /**
//     * @return the relocatingOrCollector
//     */
//    public SearchRelocatingInfoRequerimentOrOperator getRelocatingOrCollector() {
//        return relocatingOrCollector;
//    }
//
//    /**
//     * @param relocatingOrCollector the relocatingOrCollector to set
//     */
//    public void setRelocatingOrCollector(SearchRelocatingInfoRequerimentOrOperator relocatingOrCollector) {
//        this.relocatingOrCollector = relocatingOrCollector;
//    }
//
//    /**
//     * @return the filteredProfiles
//     */
//    public List<CompanyAdquiredProfile> getFilteredProfiles() {
//        return filteredProfiles;
//    }
//
//    /**
//     * @param filteredProfiles the filteredProfiles to set
//     */
//    public void setFilteredProfiles(List<CompanyAdquiredProfile> filteredProfiles) {
//        this.filteredProfiles = filteredProfiles;
//    }
//
//    /**
//     * @return the companyAdquiredProfileFacade
//     */
//    public CompanyAdquiredProfileFacade getCompanyAdquiredProfileFacade() {
//        return companyAdquiredProfileFacade;
//    }
//
//    /**
//     * @param companyAdquiredProfileFacade the companyAdquiredProfileFacade to set
//     */
//    public void setCompanyAdquiredProfileFacade(CompanyAdquiredProfileFacade companyAdquiredProfileFacade) {
//        this.companyAdquiredProfileFacade = companyAdquiredProfileFacade;
//    }
//    
//    public String reinitSearchEducationalInfoRequerimentAndOperator(){
//        educationalAndCollector=new SearchEducationalInfoRequerimentAndOperator();
//        return null;
//    }
//    public String reinitSearchEducationalInfoRequerimentOrOperator(){
//        educationalOrCollector=new SearchEducationalInfoRequerimentOrOperator();
//        return null;
//    }
//    public String reinitSearchInterestAreaRequerimentAndOperator(){
//        interestAreaAndCollector=new SearchInterestAreaRequerimentAndOperator();
//        return null;
//    }
//    public String reinitSearchInterestAreaRequerimentOrOperator(){
//        interestAreaOrCollector=new SearchInterestAreaRequerimentOrOperator();
//        return null;
//    }
//    public String reinitSearchLanguageInfoRequerimentAndOperator(){
//        languageAndCollector=new SearchLanguageInfoRequerimentAndOperator();
//        return null;
//    }
//    public String reinitSearchLanguageInfoRequerimentOrOperator(){
//        languageOrCollector=new SearchLanguageInfoRequerimentOrOperator();
//        return null;
//    }
//    public String reinitSearchProfessionalInfoRequerimentAndOperator(){
//        professionalAndCollector=new SearchProfessionalInfoRequerimentAndOperator();
//        return null;
//    }
//    public String reinitSearchProfessionalInfoRequerimentOrOperator(){
//        professionalOrCollector=new SearchProfessionalInfoRequerimentOrOperator();
//        return null;
//    }
//    public String reinitSearchRelocatingInfoRequerimentAndOperator(){
//        relocatingAndCollector=new SearchRelocatingInfoRequerimentAndOperator();
//        return null;
//    }
//    public String reinitSearchRelocatingInfoRequerimentOrOperator(){
//        relocatingOrCollector=new SearchRelocatingInfoRequerimentOrOperator();
//        return null;
//    }
//    
//    public String removeFromLanguageOrList(SearchLanguageInfoRequerimentOrOperator item){
//        search.getSearchLanguageInfoRequerimentOrOperatorList().remove(item);
//        return null;
//    }
//    public String removeFromLanguageAndList(SearchLanguageInfoRequerimentAndOperator item){
//        search.getSearchLanguageInfoRequerimentAndOperatorList().remove(item);
//        return null;
//    }
//    public String removeFromEducationalOrList(SearchEducationalInfoRequerimentOrOperator item){
//        search.getSearchEducationalInfoRequerimentOrOperatorList().remove(item);
//        return null;
//    }
//    public String removeFromEducationalAndList(SearchEducationalInfoRequerimentAndOperator item){
//        search.getSearchEducationalInfoRequerimentAndOperatorList().remove(item);
//        return null;
//    }
//    public String removeFromProfessionalOrList(SearchProfessionalInfoRequerimentOrOperator item){
//        search.getSearchProfessionalInfoRequerimentOrOperatorList().remove(item);
//        return null;
//    }
//    public String removeFromProfessionalAndList(SearchProfessionalInfoRequerimentAndOperator item){
//        search.getSearchProfessionalInfoRequerimentAndOperatorList().remove(item);        
//        return null;
//    }
//    public String removeFromRelocatingOrList(SearchRelocatingInfoRequerimentOrOperator item){
//        search.getSearchRelocatingInfoRequerimentOrOperatorList().remove(item);
//        return null;
//    }
//    public String removeFromRelocatingAndList(SearchRelocatingInfoRequerimentAndOperator item){
//        search.getSearchRelocatingInfoRequerimentAndOperatorList().remove(item);
//        return null;
//    }
//    public String removeFromInterestOrList(SearchInterestAreaRequerimentOrOperator item){
//        search.getSearchInterestAreaRequerimentOrOperatorList().remove(item);
//        return null;
//    }
//    public String removeFromInterestAndList(SearchInterestAreaRequerimentAndOperator item){
//        search.getSearchInterestAreaRequerimentAndOperatorList().remove(item);
//        return null;
//    }
//
//    /**
//     * @return the candidateName
//     */
//    public String getCandidateName() {
//        return candidateName;
//    }
//
//    /**
//     * @param candidateName the candidateName to set
//     */
//    public void setCandidateName(String candidateName) {
//        this.candidateName = candidateName;
//    }
//
//    /**
//     * @return the fromAdquisitionDate
//     */
//    public Date getFromAdquisitionDate() {
//        return fromAdquisitionDate;
//    }
//
//    /**
//     * @param fromAdquisitionDate the fromAdquisitionDate to set
//     */
//    public void setFromAdquisitionDate(Date fromAdquisitionDate) {
//        this.fromAdquisitionDate = fromAdquisitionDate;
//    }
//
//    /**
//     * @return the toAdquisitionDate
//     */
//    public Date getToAdquisitionDate() {
//        return toAdquisitionDate;
//    }
//
//    /**
//     * @param toAdquisitionDate the toAdquisitionDate to set
//     */
//    public void setToAdquisitionDate(Date toAdquisitionDate) {
//        this.toAdquisitionDate = toAdquisitionDate;
//    }
//
//    /**
//     * @return the isRelated
//     */
//    public Boolean getIsRelated() {
//        return isRelated;
//    }
//
//    /**
//     * @param isRelated the isRelated to set
//     */
//    public void setIsRelated(Boolean isRelated) {
//        this.isRelated = isRelated;
//    }
//
//    /**
//     * @return the baseProfiles
//     */
//    public List<CompanyAdquiredProfile> getBaseProfiles() {
//        return baseProfiles;
//    }
//
//    /**
//     * @param baseProfiles the baseProfiles to set
//     */
//    public void setBaseProfiles(List<CompanyAdquiredProfile> baseProfiles) {
//        this.baseProfiles = baseProfiles;
//    }
//}
//
//
